//
//  CustomerNavigationBar.h
//  HomeOfAcne
//
//  Created by 何文虎 on 2017/3/24.
//  Copyright © 2017年 hewenhu. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, SSNavigationBarStyle) {
    SSNavigationBarBlackStyle = 1,
    SSNavigationBarWhiteStyle ,
};

@interface SSNavigationBar : UIView
@property(nonatomic,strong)void(^backBlock)(void);
@property(nonatomic,strong)void(^RightBlock)(void);
@property(nonatomic,copy)NSString *title;
@property(nonatomic,strong)UIView *lineView;
@property(nonatomic,strong)UILabel *titleLable;
@property(nonatomic,strong)UIButton *leftBtn;
@property (nonatomic,strong)UIButton *rightBtn;


@property(nonatomic,strong)UILabel *usernameLb;
@property(nonatomic,strong)UIImageView *userheaderImgview;

- (instancetype)initUsernaviBarWithFrame:(CGRect)frame;

- (void)showNaviBarLine;
- (void)hiddenNaviBarLine;
- (void)showShareBarItem;
- (void)hiddenShareBarItem;
- (void)showUserinformation;
- (void)hiddenUserinformation;
- (void)configMynavibarStyle:(SSNavigationBarStyle)navibarstyle;
- (void)displayUserInformationWithName:(NSString*)name headerimgUrl:(NSString*)headerimgUrl;

@end
